package PhamVanHien_LV2_BT03;

import java.util.Scanner;

public class SquareViews {
public static void main(String[] args) {
	Square objC = new Square();
	Scanner nhap = new Scanner(System.in);
	double side;
	System.out.println("Input side:");
	side = nhap.nextDouble();
	objC.setSide(side);
	SquareController squ = new SquareController(objC);
	System.out.println("" + squ.Area(objC));
	System.out.println("" + squ.Perimeter(objC));
}
}
